package com.example.bookmanage.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.example.bookmanage.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName user_db
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "user_db")
@Data
public class SysUser extends BaseEntity {
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;

    private String username;

    private String nickname;

    private String password;

    private String email;

    private Integer status;

    private String imgPath;
}
